﻿<UserControl x:Class="WordSharpDev.Controls.ActionPane"
			 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
			 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
			 xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
			 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
			 mc:Ignorable="d" d:DesignWidth="200" d:DesignHeight="400">
	
	<UserControl.Resources>
		<Style x:Key="StatusReady" TargetType="TextBlock">
			<Setter Property="FontStyle" Value="Normal" />
			<Setter Property="Foreground" Value="Green" />
		</Style>
		<Style x:Key="StatusWait" TargetType="TextBlock">
			<Setter Property="FontStyle" Value="Oblique" />
			<Setter Property="Foreground" Value="Blue" />
		</Style>
		<Style x:Key="StatusError" TargetType="TextBlock">
			<Setter Property="FontStyle" Value="Italic" />
			<Setter Property="Foreground" Value="Red" />
		</Style>
	</UserControl.Resources>
	
	<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
		
		<Grid.RowDefinitions>
			<RowDefinition Height="48" />
			<RowDefinition Height="*" />
		</Grid.RowDefinitions>
		
		<TextBlock Name="TextLblMainLogs" Grid.Row="0" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="4,4,4,4" Text="Welcome!" />
		
		<TabControl Grid.Row="1" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
		
			<!-- Document -->
			<TabItem Name="TabItemDocument" Header="Document">
				<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
					<Grid.RowDefinitions>
						<RowDefinition Height="Auto" />
						<RowDefinition Height="Auto" />
						<RowDefinition Height="240" />
						<RowDefinition Height="24" />
						<RowDefinition Height="Auto" />
						<RowDefinition Height="240" />
						<RowDefinition Height="*" />
					</Grid.RowDefinitions>

					<!-- Document Base -->
					<StackPanel Grid.Row="0" Orientation="Horizontal">
						<TextBlock Name="TextLblDocBase" Text="Document Base" FontWeight="Bold" Margin="4,4,0,0"></TextBlock>
						<TextBlock Name="TextLblDocCount" Text="- 0 Document(s) -" FontSize="7pt" FontStyle="Italic" Foreground="Red" Margin="4,4,4,0"></TextBlock>
					</StackPanel>
					<TextBox Name="TextBoxDocSearch" Grid.Row="1" Margin="4,4,4,0"></TextBox>
					<TreeView Name="TreeViewDocBase" Grid.Row="2" Margin="4,4,4,0"></TreeView>

					<!-- Document Properties -->
					<StackPanel Grid.Row="4" Orientation="Horizontal">
						<TextBlock Name="TextLblDocProp" Text="Document Properties" FontWeight="Bold" Margin="4,4,0,0"></TextBlock>
						<TextBlock Name="TextLblDocSaved" Text="* Unsaved *" FontSize="7pt" FontStyle="Italic" Foreground="Red" Margin="4,4,4,0"></TextBlock>
					</StackPanel>
					<TextBox Name="TextBoxDocProp" Grid.Row="5" HorizontalScrollBarVisibility="Visible" VerticalScrollBarVisibility="Visible" AcceptsReturn="True" AcceptsTab="True" Margin="4,4,4,0"></TextBox>
				</Grid>
			</TabItem>

			<!-- Code -->
			<TabItem Name="TabItemCode" Header="Code">
				<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
					<Grid.ColumnDefinitions>
						<ColumnDefinition Width="Auto" />
						<ColumnDefinition Width="*" />
					</Grid.ColumnDefinitions>

					<Grid.RowDefinitions>
						<RowDefinition Height="Auto" />
						<RowDefinition Height="240" />
						<RowDefinition Height="*" />
					</Grid.RowDefinitions>

					<!-- Code Description -->
					<TextBlock Name="TextLblCodeDesc" Grid.Row="0" Grid.Column="0" Text="Code Description" FontWeight="Bold" Margin="4,4,0,0"></TextBlock>
					<TextBox Name="TextBoxCodeDesc" Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2" HorizontalScrollBarVisibility="Visible" VerticalScrollBarVisibility="Visible" AcceptsReturn="True" AcceptsTab="True" Margin="4,4,4,0"></TextBox>
				</Grid>
			</TabItem>

			<!-- Logs -->
			<TabItem Name="TabItemDetailLogs" Header="Logs">
				<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
					<Grid.RowDefinitions>
						<RowDefinition Height="*" />
					</Grid.RowDefinitions>

					<!-- Logs -->
					<TextBox Name="TextBoxDetailLogs" Grid.Row="0" HorizontalScrollBarVisibility="Visible" VerticalScrollBarVisibility="Visible" AcceptsReturn="True" AcceptsTab="True" Margin="4,4,4,0"></TextBox>
				</Grid>
			</TabItem>
		
		</TabControl>

	</Grid>

</UserControl>